﻿// -----------------------------------------------------------------------
// <copyright file="Checker.cs" company="Microsoft">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace AwesomeUtils
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public class Checker
    {

        public static bool IsInteger(string strInt)
        {
            int outInt;
            return int.TryParse(strInt, out outInt);
        }

        public static bool IsDate(string strDate)
        {
            DateTime outDate;
            return DateTime.TryParse(strDate, out outDate);
        } 

    }
}
